//
import http from 'wechat-http'

http.baseURL = 'https://live-api.itheima.net'

//
http.intercept.response = (res) => {
  // console.log(res.data)

  return res.data
}

wx.http = http

export default http
